﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace EFCore.Models;

[Table("lognote")]
public partial class Lognote
{
    [Key]
    [Column("Id_logNote")]
    public Guid IdLogNote { get; set; }

    public string Type { get; set; } = null!;

    public DateTime DateTime { get; set; }

    public string Note { get; set; } = null!;

    public string? User { get; set; }

    /// <summary>
    /// 说明
    /// </summary>
    public string? Definition { get; set; }

    /// <summary>
    /// 物料编码
    /// </summary>
    public string? MaterialCode { get; set; }

    /// <summary>
    /// 物料名称
    /// </summary>
    public string? MaterialName { get; set; }

    /// <summary>
    /// 批次
    /// </summary>
    public string? Batch { get; set; }

    /// <summary>
    /// 大小
    /// </summary>
    public string? Size { get; set; }

    /// <summary>
    /// 工单号
    /// </summary>
    public string? OrderNo { get; set; }

    /// <summary>
    /// 料盒
    /// </summary>
    public string? BoxCode { get; set; }

    /// <summary>
    /// 位置
    /// </summary>
    public string? WarehouseLineCode { get; set; }
}
